import { lazy, Suspense } from 'react';
import Loading from '@/components/Loading';

const Material = lazy(() => import('./Material'));

export default function LazyMaterial() {
  return (
    <Suspense fallback={<Loading />}>
        <Material />
      </Suspense>
  );
}
